<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
	<meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="yes" name="apple-touch-fullscreen">
	<meta content="telephone=no,email=no" name="format-detection">
	<title>My Image Compress And Upload</title>
	<link rel="stylesheet" type="text/css" href="css/myimgupload.css">
	<script type="text/javascript" src="js/jquery.min.js"></script>
	<script type="text/javascript" src="js/exif.js"></script>
</head>
<body>

	<div class="image-wrapper">
		<!-- <div class="image-item">
			<div class="remove-btn">x</div>
			<img id="pic" src="images/default.png" />
		</div> -->

		<div id="input-wrapper">
			<div class="file-add-btn">+</div>
			<!-- 若要用file调用手机摄像头拍照，则必须加上accept="image/*"，且去掉multiple属性 -->
			<input type="file" id="file" name="file" accept="image/*" >
		</div>
	</div>

	<div class="submit-btn">上传</div>

</body>
<script type="text/javascript" src="js/myimgupload.js"></script>
</html>